/**
 * The file enables `@/store/index.js` to import all vuex modules
 * in a one-shot manner. There should not be any reason to edit this file.
 */

let files = require.context('./ums', false, /\.js$/)
const ums = {}

files.keys().forEach(key => {
  ums[key.replace(/(\.\/|\.js)/g, '')] = files(key).default
})

files = require.context('./pms', false, /\.js$/)
const pms = {}

files.keys().forEach(key => {
  ums[key.replace(/(\.\/|\.js)/g, '')] = files(key).default
})

export default {
  namespaced: true,
  ...pms,
  ...ums
}
